/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package midiptt.main;

import java.awt.Image;
import java.awt.Toolkit;
import midiptt.gui.MainGUI;

/**
 *
 * @author Noel
 */
public class Main {

    public Main() {
    } // end method

    private void openMainGUI(){

    Image appIcon = Toolkit.getDefaultToolkit().getImage(MainGUI.class.getResource("/img/MIDI_icon16.png"));
    MainGUI mg = new MainGUI();
    mg.setIconImage(appIcon);
    mg.setLocationRelativeTo(null);
    mg.setVisible(true);
    
    } // end method

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Main m = new Main();
        m.openMainGUI();
    }// end method

}// end method
